package pers.sports.entity;

import java.io.Serializable;

/**
 * 
 * @TableName score
 */
public class Score implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private Integer applyid;

    /**
     * 
     */
    private String score0;

    /**
     * 
     */
    private String score1;

    /**
     * 
     */
    private String score2;

    /**
     * 
     */
    private String score3;

    /**
     * 
     */
    private String score4;

    /**
     * 
     */
    private String score5;

    /**
     * 
     */
    private String score6;

    /**
     * 
     */
    private String score7;

    /**
     * 
     */
    private String score8;

    /**
     * 
     */
    private String score9;

    /**
     * 
     */
    private String score10;

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     */
    public Integer getApplyid() {
        return applyid;
    }

    /**
     * 
     */
    public void setApplyid(Integer applyid) {
        this.applyid = applyid;
    }

    /**
     * 
     */
    public String getScore0() {
        return score0;
    }

    /**
     * 
     */
    public void setScore0(String score0) {
        this.score0 = score0;
    }

    /**
     * 
     */
    public String getScore1() {
        return score1;
    }

    /**
     * 
     */
    public void setScore1(String score1) {
        this.score1 = score1;
    }

    /**
     * 
     */
    public String getScore2() {
        return score2;
    }

    /**
     * 
     */
    public void setScore2(String score2) {
        this.score2 = score2;
    }

    /**
     * 
     */
    public String getScore3() {
        return score3;
    }

    /**
     * 
     */
    public void setScore3(String score3) {
        this.score3 = score3;
    }

    /**
     * 
     */
    public String getScore4() {
        return score4;
    }

    /**
     * 
     */
    public void setScore4(String score4) {
        this.score4 = score4;
    }

    /**
     * 
     */
    public String getScore5() {
        return score5;
    }

    /**
     * 
     */
    public void setScore5(String score5) {
        this.score5 = score5;
    }

    /**
     * 
     */
    public String getScore6() {
        return score6;
    }

    /**
     * 
     */
    public void setScore6(String score6) {
        this.score6 = score6;
    }

    /**
     * 
     */
    public String getScore7() {
        return score7;
    }

    /**
     * 
     */
    public void setScore7(String score7) {
        this.score7 = score7;
    }

    /**
     * 
     */
    public String getScore8() {
        return score8;
    }

    /**
     * 
     */
    public void setScore8(String score8) {
        this.score8 = score8;
    }

    /**
     * 
     */
    public String getScore9() {
        return score9;
    }

    /**
     * 
     */
    public void setScore9(String score9) {
        this.score9 = score9;
    }

    /**
     * 
     */
    public String getScore10() {
        return score10;
    }

    /**
     * 
     */
    public void setScore10(String score10) {
        this.score10 = score10;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Score other = (Score) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getApplyid() == null ? other.getApplyid() == null : this.getApplyid().equals(other.getApplyid()))
            && (this.getScore0() == null ? other.getScore0() == null : this.getScore0().equals(other.getScore0()))
            && (this.getScore1() == null ? other.getScore1() == null : this.getScore1().equals(other.getScore1()))
            && (this.getScore2() == null ? other.getScore2() == null : this.getScore2().equals(other.getScore2()))
            && (this.getScore3() == null ? other.getScore3() == null : this.getScore3().equals(other.getScore3()))
            && (this.getScore4() == null ? other.getScore4() == null : this.getScore4().equals(other.getScore4()))
            && (this.getScore5() == null ? other.getScore5() == null : this.getScore5().equals(other.getScore5()))
            && (this.getScore6() == null ? other.getScore6() == null : this.getScore6().equals(other.getScore6()))
            && (this.getScore7() == null ? other.getScore7() == null : this.getScore7().equals(other.getScore7()))
            && (this.getScore8() == null ? other.getScore8() == null : this.getScore8().equals(other.getScore8()))
            && (this.getScore9() == null ? other.getScore9() == null : this.getScore9().equals(other.getScore9()))
            && (this.getScore10() == null ? other.getScore10() == null : this.getScore10().equals(other.getScore10()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getApplyid() == null) ? 0 : getApplyid().hashCode());
        result = prime * result + ((getScore0() == null) ? 0 : getScore0().hashCode());
        result = prime * result + ((getScore1() == null) ? 0 : getScore1().hashCode());
        result = prime * result + ((getScore2() == null) ? 0 : getScore2().hashCode());
        result = prime * result + ((getScore3() == null) ? 0 : getScore3().hashCode());
        result = prime * result + ((getScore4() == null) ? 0 : getScore4().hashCode());
        result = prime * result + ((getScore5() == null) ? 0 : getScore5().hashCode());
        result = prime * result + ((getScore6() == null) ? 0 : getScore6().hashCode());
        result = prime * result + ((getScore7() == null) ? 0 : getScore7().hashCode());
        result = prime * result + ((getScore8() == null) ? 0 : getScore8().hashCode());
        result = prime * result + ((getScore9() == null) ? 0 : getScore9().hashCode());
        result = prime * result + ((getScore10() == null) ? 0 : getScore10().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", applyid=").append(applyid);
        sb.append(", score0=").append(score0);
        sb.append(", score1=").append(score1);
        sb.append(", score2=").append(score2);
        sb.append(", score3=").append(score3);
        sb.append(", score4=").append(score4);
        sb.append(", score5=").append(score5);
        sb.append(", score6=").append(score6);
        sb.append(", score7=").append(score7);
        sb.append(", score8=").append(score8);
        sb.append(", score9=").append(score9);
        sb.append(", score10=").append(score10);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}